Skip to content

feat(guardian): wire production authority consumption to datastore - #63

Merged
aeonmatrixcommand-debug merged 1 commit into
mainfrom
feature/guardian-production-datastore-wiring
Aug 20, 2026
Merged

feat(guardian): wire production authority consumption to datastore#63
aeonmatrixcommand-debug merged 1 commit into
mainfrom
feature/guardian-production-datastore-wiring

Conversation

@aeonmatrixcommand-debug

Copy link
Copy Markdown
Owner

Summary

Wires Guardian production execution-authority consumption to persistent Google Cloud Datastore storage.

Changes

  • declare google-cloud-datastore==2.26.0
  • add explicit Guardian production composition
  • construct DatastoreAuthorizationConsumptionStore with a Datastore client
  • inject the persistent consumption store into AutonomousExecutionLayer
  • prevent silent production fallback to process-local in-memory authority consumption
  • add production composition contract tests

Security invariant

Production execution authority consumption must use persistent transactional storage.

Guardian production composition must not silently fall back to process-local in-memory consumption state if Datastore construction fails.

This preserves the single-use execution-authority invariant across competing Guardian instances.

Validation

  • production composition tests: PASS
  • Datastore consumption tests: PASS
  • execution tests: PASS
  • Guardian suite: 71 passed
  • Python compilation: PASS
  • diff validation: PASS
  • production Datastore wiring: VERIFIED
  • fail-closed behavior: VERIFIED
  • local/remote SHA: VERIFIED

Expected production behavior

build_execution_layer() constructs a Datastore-backed authorization consumption store and injects it into the Guardian execution layer.

Failure to construct the Datastore client is propagated rather than silently degrading to an in-memory store.

@aeonmatrixcommand-debug
aeonmatrixcommand-debug merged commit 3c8e57c into main Aug 20, 2026
11 checks passed
@aeonmatrixcommand-debug
aeonmatrixcommand-debug deleted the feature/guardian-production-datastore-wiring branch August 20, 2026 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant